login_data = [
    {
        "desc": "登录成功",
        "req_body": {"mobile": "13800000002", "password": "123456"},
        "exp1": 200,
        "exp2": True,
        "exp3": 10000,
        "exp4": "成功"
    },
    {
        "desc": "登录失败-手机号未注册",
        "req_body": {"mobile": "13133000002", "password": "123456"},
        "exp1": 200,
        "exp2": False,
        "exp3": 20001,
        "exp4": "错误"
    },
    {
        "desc": "登录失败-密码错误",
        "req_body": {"mobile": "13800000002", "password": "723456"},
        "exp1": 200,
        "exp2": False,
        "exp3": 20001,
        "exp4": "错误"
    },
    {
        "desc": "登录成功-多参",
        "req_body": {"mobile": "13800000002", "password": "123456", "id": "123456"},
        "exp1": 200,
        "exp2": True,
        "exp3": 10000,
        "exp4": "成功"
    },
    {
        "desc": "登录失败-少参",
        "req_body": {"mobile": "13800000002"},
        "exp1": 200,
        "exp2": False,
        "exp3": 20001,
        "exp4": "错误"
    },
    {
        "desc": "登录失败-请求数据的结构错误",
        "req_body": "{",
        "exp1": 200,
        "exp2": False,
        "exp3": 99999,
        "exp4": "抱歉"
    }
]

add_data = [
    {
        "desc": "添加成功-全部参数",
        "req_body": {"username": "lanben001", "mobile": "13966660001", "workNumber": "101",
                     "timeOfEntry": "2019-11-30", "formOfEmployment": "1", "departmentId": "1",
                     "correctionTime": "2019-11-30"},
        "exp1": 200,
        "exp2": True,
        "exp3": 10000,
        "exp4": "成功",
        "exp5": 1
    },
    {
        "desc": "添加成功-只有必选",
        "req_body": {"username": "lanben001", "mobile": "13966660002", "workNumber": "102"},
        "exp1": 200,
        "exp2": True,
        "exp3": 10000,
        "exp4": "成功",
        "exp5": None
    }
]

query_data = [
    {
        "desc": "查询成功-员工id存在",
        "id": "345111",
        "exp1": 200,
        "exp2": True,
        "exp3": 10000,
        "exp4": "成功",
        "exp5": "345111"
    },
{
        "desc": "查询失败-员工id不存在",
        "id": "4567890001",
        "exp1": 200,
        "exp2": False,
        "exp3": 20005,
        "exp4": "失败",
        "exp5": None
    }
]
